<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        .div1 {
            height:180px;
            width:380px;
            border:1px solid #8A8989;
            margin:0 auto;
        }
        .input{
            display: block;
            width: 350px;
            height: 40px;
            margin: 10px auto;
        .button {
            background: #2066C5;
            color: white;
            font-size: 18px;
            font-weight: bold;
            border-radius: 4px;
        }
        }
    </style>
</head>
<body>
<div class="div1"><form action="login" method="post">
    <input type="text" class="input" name="username" placeholder="please enter username">
    <input type="password" class="input"  name="pwd" placeholder="请输入密码">
    <input type="submit" value="登录"  class="input button">

</form> </div>
</body>
</html>